<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
 <link rel="stylesheet" href="/stylesheets/le.css">
    <script src="https://cdn.bootcss.com/less.js/3.0.0-pre.1/less.js"type="text/javascript"></script>
    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
    <style>
blockquote,body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,input,legend,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0}body,button,input,select,textarea{font:12px/1.5 tahoma,arial,'Hiragino Sans GB',\5b8b\4f53,sans-serif}h1,h2,h3,h4,h5,h6{font-size:100%}address,cite,dfn,em,var{font-style:normal}code,kbd,pre,samp{font-family:courier new,courier,monospace}small{font-size:12px}ol,ul{list-style:none}a{text-decoration:none}up{vertical-align:text-top}sub{vertical-align:text-bottom}legend{color:#000}fieldset,img{border:0}button,input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}
</style>
</head>
<body>
    <header>
        <h1>后台管理</h1>
    </header>
    <div id="main">
        <div id="lside">
            <aside>
                <h4>分类管理</h4>
                <ul>
                    <li><a href="/tadd">首页</a></li>
                    <li><a href="/tadd">分类列表</a></li>
                    <li><a href="/tlist">添加分类</a></li>
                    <li><a href="/liuyan">留言管理</a></li>
                </ul>
            </aside>
            <aside>
                <h4>文章管理</h4>
                <ul>
                    <li><a href="/biao">文章列表</a></li>
                    <li><a href="#">发表文章</a></li>
                </ul>
            </aside>
        </div>
        <div id="rside">
            <form action="" method="post">
                <div class="form">
                    <label>标题:</label>
                    <p>
                        <input type="text" name="title">
                    </p>
                </div>
                <div class="form">
                    <label>分类:</label>
                    <p>
                        <select name="tag">
                           <% for(var i=0;i<msg.length;i++){ %>
                               <option value="<%= msg[i].tag %>"><%= msg[i].tag %></option>
                           <% } %>
                        </select>
                    </p>
                </div>
                <div class="form">
                    <label >内容:</label>
                    <p>
                        <textarea name="content" id="editor" type="text/plain" style="width:660px;height:460px;"></textarea>
                    </p>
                </div>
                <div class="form">
                    <label>&nbsp;</label>
                    <p>
                        <button type="submit">提交</button>
                    </p>
                </div>
            </form>
        </div>
    </div>
</body>
<script type="text/javascript">  
  
    //实例化编辑器  
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例  
    var ue = UE.getEditor('editor');  
  
</script>  
</html>